<?php

namespace Guigle\GuiaBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class EntradaType extends AbstractType
{

    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('nombre');
        $builder->add('descripcion', 'textarea');
        $builder->add('telefono1');
		$builder->add('telefono2');
        $builder->add('direccion');
        $builder->add('email', 'email');
        $builder->add('sitio');
    }

    public function getDefaultOptions(array $options)
    {
        return array(
            'data_class' => 'Guigle\GuiaBundle\Entity\Entrada',
        );
    }

    public function getName()
    {
        return 'entrada';
    }

}
